package com.cmc.cloud.cmclink.doc.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import org.hibernate.validator.constraints.Length;

import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;

/**
 * 申请主信息 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 *
 * @author codegen
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TblisustampMainBaseVO {

    @Schema(description = "类别")
    @Length(max = 30, message = "类别支持最大长度{max}")
    private String category;

    @Schema(description = "代理代码")
    @Length(max = 50, message = "代理代码支持最大长度{max}")
    private String agentCode;

    @Schema(description = "起运港")
    @Length(max = 20, message = "起运港支持最大长度{max}")
    private String portCode;

    @Schema(description = "备注", example = "你猜")
    @Length(max = 200, message = "备注支持最大长度{max}")
    private String remark;

}
